package com.firebird.app.fekpsl.mvp.sword.friend

import com.firebird.app.fekpsl.base.BasePresenter
import com.firebird.app.fekpsl.ext.ss
import com.firebird.app.fekpsl.mvp.common.CommonPresenter
import com.firebird.fekpsl.mvp.model.BlockPeopleModel

/**
 * Created by firebird on 2018/4/21.
 */
class BlockPeoplePresenter : BasePresenter<BlockPeopleContract.Model, BlockPeopleContract.View>(), BlockPeopleContract.Presenter {

    override fun createModel(): BlockPeopleContract.Model? = BlockPeopleModel()

    override fun getBlockPeopleList(pageNo:Int,userUuid:String) {
        mModel?.getBlockPeopleList(pageNo ,userUuid)?.ss(mModel, mView) {
            mView?.showBlockPeopleList(it.data)
        }
    }


}